home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 12
/
Mac Magazin and MacEasy Magazine CD - Issue 12.iso
/
Sharewarebibliothek
/
Hypercard
/
grep-replace.XFCN folder
/
rexp_src
/
regexp.h
< prev
next >
Wrap
Text File
|
1989-09-18
|
1KB
|
29 lines
/*
| | Header file for Regular Expression Evaluator.
| |
| | Greg Anderson
*/
/*-----------------------------------------------------------------
| Flags:
-----------------------------------------------------------------*/
#define IGNORE 0x001 /* -i : ignore case */
#define NUMBER 0x002 /* -n : number each line */
#define COUNT 0x004 /* -c : display count, not output */
#define INVERT 0x008 /* -v : inverted search */
#define MULTILINE 0x010 /* -m : multi-line match (indented) */
#define FOLDEDLINE 0x020 /* -f : folded lines (with backslash)*/
#define NOBREAKS 0x040 /* -b : no line breaks */
#define BEGINFLAG 0x080 /* '^': search from beginning of line*/
#define ENDFLAG 0x100 /* '$': search to end of line */
extern int regexp_flags;
extern int end_of_line(char *);
extern int find_regexp(char *,char *,char **,char **);
extern int strgrep(char *,char *,char **);
extern int chargrep(char **,char **,char **);
extern int searchset(char **,char);
extern int wild_scan(char *,char **,char *);
extern int greplen(char **);